﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace DrawTools
{
    /// <summary>
    /// 描绘图元
    /// </summary>
    class ToolAir : ToolRectangle
	{
        public ToolAir()
		{
            Cursor = new Cursor(Common.FunctionClass.getRunPath() + @"\Resources\Test.cur");
		}

        public override void OnMouseDown(KKDraw drawArea, MouseEventArgs e)
        {
            AddNewObject(drawArea, new DrawAir(e.X, e.Y, 1, 1));
        }

	}
}
